package com.hcy.userdomin.domain.entity;

import java.time.LocalDateTime;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 客户的订单评价表
 * </p>
 *
 * @author hcy
 * @since 2022-04-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Evaluate implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 分数
     */
    private Integer grade;

    /**
     * 评价内容
     */
    private String content;

    /**
     * 订单ID
     */
    private String orderId;

    /**
     * 乘客ID
     */
    private Integer passengerId;

    /**
     * 司机ID
     */
    private Integer driverId;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 修改时间
     */
    private LocalDateTime updateTime;


}
